import { BasicColumn } from '/@/components/Table';

export const Permission = {
  DEL: 'session.del',
};

export const columns: BasicColumn[] = [
  {
    title: '账号',
    dataIndex: 'loginName',
  },
  {
    title: '凭证',
    dataIndex: 'token',
    width: 280,
  },
  {
    title: 'ip',
    dataIndex: 'ip',
  },
  {
    title: '地址',
    dataIndex: 'address',
  },
  {
    title: '浏览器',
    dataIndex: 'browser',
  },
  {
    title: '终端',
    dataIndex: 'os',
  },
  {
    title: '过期时间',
    dataIndex: 'expiredAt',
  },
];
